package com.xiaoming.backend.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(name = "LoginRequest", description = "用户数据请求传输对象")
public class LoginRequest {
    @Schema(description = "用户账号", example = "zs", required = true)
    private String username;
    @Schema(description = "密码", example = "123456", required = true)
    private String password;
    @Schema(description = "角色", example = "1", required = true)
    private String role;
}